﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;

namespace SecureCommander.GUI
{
    /// <summary>
    /// Interaction logic for FormNewFolder.xaml
    /// </summary>
    public partial class FormNewFolder : Window
    {
        public FormNewFolder()
        {
            InitializeComponent();
        }

        public string FolderName { get; set; }

        private void btnOK_Click(object sender, RoutedEventArgs e)
        {
            FolderName = txtFolderName.Text;
            DialogResult = true;
            Close();
        }

        private void Window_Loaded(object sender, RoutedEventArgs e)
        {
            txtFolderName.Focus();
        }
    }
}
